/*
 * @Author: your name
 * @Date: 2021-05-10 09:29:10
 * @LastEditTime: 2021-10-25 17:14:08
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /fytsoa_3.1/admin/src/api/work.js
 */
import request from '@/utils/request'
export function getUser(params) {
  return request({
    url: 'api/sys/admin/id',
    method: 'get',
    params,
  })
}
export function getMessage(params) {
  return request({
    url: 'api/cmsmessage/pages',
    method: 'get',
    params,
  })
}
export function collect(data) {
  return request({
    url: 'api/collect',
    method: 'post',
    data,
  })
}
export function browser(params) {
  return request({
    url: 'api/workbench/browser',
    method: 'get',
    params,
  })
}
export function weekVisit(params) {
  return request({
    url: 'api/workbench/week/visit',
    method: 'get',
    params,
  })
}
export function deviceUse(params) {
  return request({
    url: 'api/workbench/device/use',
    method: 'get',
    params,
  })
}
